package com.jihad.sbd.modules.test.dao;


import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.jihad.sbd.modules.test.entity.User;
//@Repository
@Mapper
public interface UserDao {
	/**
	 * 插入
	 * @param user
	 * @return 成功操作的记录数目
	 */
	int insert(User user);
	User selectById(int id);
	User selectByName(String username);
}
